﻿16 January 2023:
= nas1.bas:
Choose PAPER and INK at the starting screen.
Added directional controls - the 8 keys around S for 8-directional control, also cursor keys for straight directions.
= nas2.bas:
Changed the PAPER setup so that LAYER 2 always has transparent paper, and LAYER 1,1 shows through it with a 255-colour palette.
This means that only the data on LAYER 2 will be saved and the LAYER 1,1 background will need to be added manually... unless there's a way to merge the layers!
Press 1 to input a new INK as a direct value or 2 to input the RGB levels.
Press 3 to input a new PAPER as a direct value or 4 to input the RGB levels.
= nas3.bas
Press 5 to change the transparency colour by number and 6 to do so by RGB levels. This can also now be seen on the introductory screen and can be changed.
TROUBLE: changing the transparency won't work! LAYER 2 is already filled with colour 173 at the start, so changing the transparency makes that opaque and the paper can't be seen through it! Make sure the transparency is chosen well to start with! (Hence 173, not bright magenta.)
Need to intercept this when changing the PAPER so that it does not clash with the transparency. (Leave the code in, though. Just in case...)

17 January 2023:
= still nas3.bas
Press 0 to switch between ink (INK %i, %e=0) and ink eradicator (INK %t, e=1) mode. This wasn't as straightforward as I'd thought.
= nas4.bas
Press S to view current coordinates (at the centre of the diagonal-movement block).
Press M to move current coordinates to a specified point.
Press K to move to the centre of the screen (128,96).
Also reduced the size of the window for number-only INK and PAPER selection, and plot a new point when a new INK is selected.
Select INK and PAPER changed to keys I and P, with the levels-wise INK on J and the levels-wise PAPER on L. Ink eradicator variable %e is always set to 0 when a new INK is set.
Added O for the ink eradicator as well as 0.
Press F to store the current coordinates and R to recall them.
Press V to clear the screen... after a prompt to make sure.
= nas5.bas
Added geometric shapes:
Press H for a circle (input centre and radius)
Press Y for a square (input top left corner and side length)
Press U for a rectangle (input top left corner, width and height)
Press T for an equilateral triangle (input highest point and side length)
= nas6.bas
Press B for a five-pointed star (input highest point and side length)

18 January 2023:
= still nas6.bas
Press N for a cross (Greek + sign style - input leftmost top corner and side length)
= nas7.bas
Press 2 to draw a line from (x1,y1) to (x2,y2).
Press 3 to draw an arc .Originally just adding to the line (x1,y2 to x2,y2 and turn through an angle) - but if the arc is drawn off screen this can lead to disaster.
Replaced with an arc defined by a central point and radius, and it calculates what the range of angles can be to stay on screen (clockwise from north). This is not completely fail-safe at the stated angle limits (stay half a degree inside them, at least) but can produce arcs with a radius larger than any circle. This feature of the program alone probably took as long as getting to the end of nas3.bas... it was very difficult to get right!
= nas8.bas
Press 4 to add text, in any character width that will fit onto the screen in one line.

19 January 2023:
= nas9.bas
Press 9 to save the picture. It will save the background colour, but will overwrite it with 173. PALETTE OVER 173 will reveal the picture as it's supposed to be.
Wait... no it won't. Need to hard-write the background colour before it is saved.
Copy bank  9 to 40(x) and 43(y)
Copy bank 10 to 41(x) and 44(y)
Copy bank 11 to 42(x) and 45(y)
Hard-write the background into banks 43,44 and 45(y)
Copy 43,44,45(y) to 9,10,11
Save the picture .SL2
Copy 40,41,42(x) to 9,10,11
If the process works, it takes 4 minutes and 52 seconds.
PAPER can still be changed on screen...
IT WORKS! PAPER has been hard-written from LAYER 1,1 to LAYER 2 OK, and the .SL2 file looks exactly how it's supposed to.
= nas10.bas
Added the instructions - press 1 to see the screen, on LAYER 1,2. Had to delete the palette and restart it to make it appear in non-ugly colours, but that's all part of the journey of Next exploration...
Also, the filename can stay, so that nas11.bas can be v1.1 if it needs updating.
